﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mindfor.Web.Data;

namespace Mindfor.Web.Modules.Users
{
	/// <summary>
	/// Contains data for Activate view.
	/// </summary>
	public class ActivateModel
	{
		/// <summary>
		/// Gets or sets if user was activated.
		/// </summary>
		public bool IsSuccess { get; set; }

		/// <summary>
		/// Gets or sets activated user.
		/// </summary>
		public User ActivatedUser { get; set; }

		/// <summary>
		/// Initializes new instance.
		/// </summary>
		public ActivateModel(bool isSuccess, User activatedUser)
		{
			IsSuccess = isSuccess;
			ActivatedUser = activatedUser;
		}
	}
}
